# -*- cmake -*-
#
# ROBWORKSTUDIO SPECIFIC
#
# Disable the embedded lua utilities Lua
# SET(RWS_DISABLE_LUA ON)

# enable/disable the generation of dynamically linked lua or python bindings. If not defined
# then it will be included if dependencies are met. 
# SET(RWS_LUA_BINDINGS_ENABLED ON)
# SET(RWS_PYTHON_BINDINGS_ENABLED ON) 

# Enable tests
SET(RWS_BUILD_TESTS ON)

# Specify the root dir of your Qt installation if it is not autodetected from the environment
IF(DEFINED ENV{QTDIR})
  FILE(TO_CMAKE_PATH $ENV{QTDIR} QTDIR)
ELSE()
  SET(QTDIR "")
ENDIF()

# Enable building the documentation (requires doxygen in PATH)
SET(USE_DOC ON)

IF(ENABLE_COVERAGE)
 #SET(RW_CXX_FLAGS "-g -O0 -Wall -W -Wshadow -Wunused-variable -Wunused-parameter -Wunused-function -Wunused -Wno-system-headers -Wno-deprecated -Woverloaded-virtual -Wwrite-strings -fPIC -fprofile-arcs -ftest-coverage")
 SET(CMAKE_C_FLAGS "-g -O0 -Wall -W -fprofile-arcs -ftest-coverage")
 SET(CMAKE_EXE_LINKER_FLAGS "-fprofile-arcs -ftest-coverage")
ENDIF()
